const order = {
  path: '/order',
  name: 'order',
  meta: { id: '9', title: '订单', icon: 'ios-people' },
  component: resolve => require(['@/views/Base'], resolve),
  children: [
    {
      path: '/order/order/list',
      name: 'order/order/list',
      component: resolve => require(['@/views/order/order/OrderList'], resolve),
      meta: {
        id: '9-1',
        title: '工厂订单',
        keepAlive: true
      }
    }, {
      path: '/order/order/edit',
      name: 'order/order/edit',
      hidden: true,
      component: resolve => require(['@/views/order/order/OrderEdit'], resolve),
      meta: {
        id: '9-1',
        title: '创建订单',
        keepAlive: true
      }
    }, {
      path: '/order/order/detail',
      name: 'order/order/detail',
      hidden: true,
      component: resolve => require(['@/views/order/order/OrderDetail'], resolve),
      meta: {
        id: '9-1',
        deepth: 2,
        title: '订单详情',
        active: false
      }
    }, {
      path: '/order/order/invitation',
      name: 'order/order/invitation',
      hidden: true,
      component: resolve => require(['@/views/order/order/invitation'], resolve),
      meta: {
        id: '9-1',
        deepth: 2,
        title: '订单邀请',
        active: false
      }
    }
  ]
}

export default order
